#coding:utf-8
# 矩阵转置

from Matrix import Matrix

def _trans(this):
    return Matrix(*[
       this.getCol(r) for r in range(0,this.col)
    ])


def test():
    mt = Matrix(
        [3,-1,-1,2],
        [-5,1,3,-4])
    
    print(_trans(mt))
    
if __name__=='__main__':
    import sys
    test()
